package chap6;

public class MyException extends Exception {
	private int detail;
	public MyException(){
		detail=0;
	}
	public MyException(int i){
		detail=i;
	}
	
	public String toString(){
		return "MyException["+detail+"]";
	}
}
